package com.lyfei.ydc.domain.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lyfei.ydc.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@TableName("t_cart")
public class Cart extends BaseEntity<Cart> {
    private Long userId;
    private Long goodsId;
    private String goodsSn;
    private String goodsName;
    private Long goodsProductId;
    private String[] specifications;
    private BigDecimal price;
    private Integer quantity;
    private Boolean checked;
    private String picUrl;
    private Date createTime;
    private Date updateTime;
    @TableLogic
    private Boolean deleted;
}
